package net.sycu.guomy.ems.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class LoginBean implements Serializable {
	private int loginId = 0;
	private String loginName = "";
	private String password = "";
	private String email = "";
	private String nickname = "";
	private int loginTime = 0;
	private int grade = 0;
	private Timestamp registerDateTime = new Timestamp(System.currentTimeMillis());
	private String registerIp = "";
	private Timestamp lastLoginDateTime = new Timestamp(System.currentTimeMillis());
	private String lastLoginIp = "";
	private String remark = "";
	private int stateId = 0;
	private int typeId = 0;
	private int departmentId = 0;
	
	public int getLoginId() {
		return loginId;
	}
	public void setLoginId(int loginId) {
		this.loginId = loginId;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public int getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(int loginTime) {
		this.loginTime = loginTime;
	}
	public int getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	public Timestamp getRegisterDateTime() {
		return registerDateTime;
	}
	public void setRegisterDateTime(Timestamp registerDateTime) {
		this.registerDateTime = registerDateTime;
	}
	public String getRegisterIp() {
		return registerIp;
	}
	public void setRegisterIp(String registerIp) {
		this.registerIp = registerIp;
	}
	public Timestamp getLastLoginDateTime() {
		return lastLoginDateTime;
	}
	public void setLastLoginDateTime(Timestamp lastLoginDateTime) {
		this.lastLoginDateTime = lastLoginDateTime;
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public int getStateId() {
		return stateId;
	}
	public void setStateId(int stateId) {
		this.stateId = stateId;
	}
	public int getTypeId() {
		return typeId;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	public int getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(int departmentId) {
		this.departmentId = departmentId;
	}

	private LoginStateBean loginState = null;
	private LoginTypeBean loginType = null;
	private DepartmentBean department = null;
	public LoginStateBean getLoginState() {
		return loginState;
	}
	public void setLoginState(LoginStateBean loginState) {
		this.loginState = loginState;
	}
	public LoginTypeBean getLoginType() {
		return loginType;
	}
	public void setLoginType(LoginTypeBean loginType) {
		this.loginType = loginType;
	}
	public DepartmentBean getDepartment() {
		return department;
	}
	public void setDepartment(DepartmentBean department) {
		this.department = department;
	}
}
